package com.train.entity;

import java.io.Serializable;

/**
 * Author:Well
 * Date:2018-01-22
 * Description:实体的抽象基类
 */

public abstract class ABaseEntity implements Serializable{

    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public static void main(String[] args){
        Father father=new Father();
        father.say();

        Son son=new Son();
        son.say();
        son.cry();

        Father f=new Son();
        f.say();

    }

}
